package com.erp.wallet.service;


import com.ruoyi.wallet.api.domain.ErpDistributionUserWallet;

/**
 * @Description: 用户钱包Service接口
 * @Author: j.zh
 * @Date: 2024/5/2
 * @Version: 4.0.0
**/
public interface IErpDistributionUserWalletService {

	/**
	 * @Description: 创建钱包
	 * @Author: j.zh
	 * @Date: 2024/5/2
	 * @param userWallet
	 * @return userWallet
	 * @Version: 4.0.0
	**/
	ErpDistributionUserWallet insert(ErpDistributionUserWallet userWallet);

	/**
	 * @Description: 根据分销员ID，获取钱包数据
	 * @Author: j.zh
	 * @Date: 2024/5/3
	 * @param distributionUserId
	 * @return com.ruoyi.wallet.api.domain.ErpDistributionUserWallet
	 * @Version: 4.0.0
	**/
	ErpDistributionUserWallet getByDistributionUserId(Long distributionUserId);

	/**
	 * @Description: 根据用户ID，获取钱包数据
	 * @Author: j.zh
	 * @Date: 2024/5/3
	 * @param userId
	 * @return com.ruoyi.wallet.api.domain.ErpDistributionUserWallet
	 * @Version: 4.0.0
	 **/
	ErpDistributionUserWallet getByUserId(Long userId);
}
